package com.movitech.mobile.cz.base.supplier.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.Version;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * <p>
 * 供方基本情况-联系方式
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("s_supplier_contact_info")
@ApiModel
public class SSupplierContactInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 供方基本情况id
     */
    @ApiModelProperty(value = "供方基本情况id")
    @TableField("suppliers_id")
    private String suppliersId;
    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    @TableField("contact_name")
    private String contactName;
    /**
     * 手机
     */
    @ApiModelProperty(value = "手机")
    @TableField("mobile")
    private String mobile;
    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    @TableField("phone")
    private String phone;
    /**
     * 电子邮件
     */
    @ApiModelProperty(value = "电子邮件")
    @TableField("email")
    private String email;
    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号")
    @TableField("credit_number")
    private String creditNumber;
    /**
     * 职位
     */
    @ApiModelProperty(value = "职位")
    @TableField("position_name")
    private String positionName;
    /**
     * 是否主联系人（0：否，1：是）
     */
    @ApiModelProperty(value = "是否主联系人（0：否，1：是）")
    @TableField("main_flag")
    private Integer mainFlag;


}
